package org.example.modules.sys.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.core.enums.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;


public enum MenuShowEnum implements IEnum<Integer> {
    IS_SHOW(0,"显示"),

    NOT_SHOW(1,"隐藏");

    @EnumValue
    private final int value;

    @JsonValue
    private final String text;

    MenuShowEnum(int value,String text) {
        this.value = value;
        this.text = text;
    }

    @Override
    public Integer getValue() {
        return value;
    }
}
